package com.abaaba.project2.bean;

import lombok.Data;

import java.util.Date;

@Data
public class Comment {
    private Integer id;

    private Integer valueId;

    private Byte type;

    private String content;

    private Integer userId;

    private Boolean hasPicture;

    private String[] picUrls;

    private Short star;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

    public Comment() {
    }

    public Comment(Integer id, Integer valueId, Byte type, String content, Integer userId, Boolean hasPicture, String[] picUrls, Short star, Date addTime, Date updateTime, Boolean deleted) {
        this.id = id;
        this.valueId = valueId;
        this.type = type;
        this.content = content;
        this.userId = userId;
        this.hasPicture = hasPicture;
        this.picUrls = picUrls;
        this.star = star;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }

}